﻿using Apps.Common;
using Apps.Models;
using Apps.Models.CONTRACT;
using Apps.Models.PL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Apps.IBLL.PL
{
    public partial interface IPL_RC_DETAILSBLL
    {
        List<V_RC_IN> GetListCadIN(ref GridPager pager, string queryStr, string sDate, string eDate);

       new List<PL_RC_DETAILSModel> GetListByParentId(ref GridPager pager, string queryStr, object parentId);

        List<V_RC_OUT> GetListOut(ref GridPager pager, string querStr, string sDate, string eDate);
        decimal GetBathCode(DateTime BathCodeDate);
        List<PL_RC_DETAILS> QueryUnStockInList();
        List<V_RC_WEIGHT_UP_MAIN> GetListWeightUpMain(ref GridPager pager, string querStr);
        List<V_RC_WEIGHT_UP_DETAIL> GetListWeightUpDetail(ref GridPager pager, string detailID);
        List<V_RC_WEIGHT_UP_MAIN>  GetViewEntity(string DetailID);

        V_LMS_UP GetViewEntityByLmsUp(string DetailID);
        List<V_LMS_UP> GetLmsUpList(ref GridPager pager, string queryStr);

        List<V_PL_RC_DETAILS> GetDetailList(Expression<Func<V_PL_RC_DETAILS, bool>> whereLambda);

        bool IsUnloading(object id);
    }
}
